<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>{$seo_title}</title>
		<meta name="Keywords" content="{$seo_keywords}">
		<meta name="Description" content="{$seo_description}">
		{include file="book@web_public/head_static" /}
		<link href="__WEB__css/book.css" rel="stylesheet" />
	</head>
	<body>
		{include file="book@web_public/head" /}
		<div class="content chapterList-page">
			<div class="container">
				<div class="chapterList-page-box">
					<div class="book-name">{$book.name}</div>
					<div class="book-author"><span>作者：</span>{$book.author}</div>
					<div class="book-btn"><a href="javascript:;" {if $is_member_login}onclick="addBookcase({$book.id})"{else}class="public-ajax-login"{/if}>加入书架</a><a href="{$book.url}">返回书页</a></div>
					{if empty($book.volumes)}
						<div class="volume-title"><p>正文卷</p></div>
						<div class="chapter-list-20170722">
							{volist name="list" id="vo" key="k"}
							<a href="{$vo.url}" target="_blank">{$vo.chapter_name}{if $vo.charge}<span>VIP</span>{/if}</a>
							{if ($k%4)==0}<div class="chapterList-page-line"></div>{/if}
							{/volist}
						</div>
					{else}
						{volist name="$book.volumes" key="volume_k" id="volume"}
						<div class="volume-title"><p>{$volume}</p></div>
						<div class="chapter-list-20170722">
							{php}$count_key = 1;{/php}
							{volist name="list" id="vo"}
							{if $vo.volume == $volume_k}
								<a href="{$vo.url}" target="_blank">{$vo.chapter_name}{if $vo.charge}<span>VIP</span>{/if}</a>
								{if ($count_key%4)==0}<div class="chapterList-page-line"></div>{/if}
								{php}$count_key++;{/php}
							{/if}
							{/volist}
						</div>
						{/volist}
					{/if}
				</div>
				
			</div>
		</div>
		{include file="book@web_public/foot" /}
	</body>
</html>